home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************
- * *
- * Write message to GEM *
- * *
- * Copyright (C) 1994, Bitgate Software and Clever Bits *
- * All Rights Reserved. *
- * *
- * Routine to handle the passage of OBJECTS, WINDOWS and any other *
- * typedefs necessary to both routines and programs. *
- * *
- ********************************************************************/
-
- #include "winlib.h"
-
- #ifndef __MESSAGE__
- #define __MESSAGE__
- #endif
-
- GLOBAL void WSend_Msg(int sendto, int msg0, char *msg3, int msg5, int msg6, int msg7)
- {
- int msg[8];
-
- msg[0] = msg0;
- msg[1] = Ap_ID;
- msg[2] = 0;
- *(char**)&msg[3] = msg3;
- msg[5] = msg5;
- msg[6] = msg6;
- msg[7] = msg7;
- appl_write(sendto, 16, msg);
- }